import http from '~/utils/axios'
import { LoginParams, UserInfoModel } from './model/demoModel'
import { useRequest } from 'vue-request'
import axios from 'axios'

export enum Api {
  HomeData = '/home/data', // 登录
}

/**
 * @description: 首页数据
 */
export function homeData() {
  return http.request(
      {
        url: Api.HomeData,
        method: 'get',
      },
      {
        isShowMessage: false,
      },
  )
}

